package com.design.pattern.observer.simple;

public class ConcerteUser implements User {
    private String name;

    public ConcerteUser(String name) {
        this.name = name;
    }

    @Override
    public void update(String message) {
        System.out.println(this.name+"订阅的文章:"+message);
    }
}
